package com.bw.database.db

import android.content.Context
import androidx.room.Room

object RoomUtils {

    private lateinit var dataBase: AppDataBase

    fun initRoomDB(context: Context){
        dataBase = Room.databaseBuilder(context, AppDataBase::class.java, "park.db")
            .build()
    }


    fun getDataBase(): AppDataBase {
        return dataBase
    }

}